import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.*;
import java.util.Arrays;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-04-23
 * Time: 21:58
 */
public class newwriter {

    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream=new FileOutputStream("C:\\Users\\22652\\Desktop\\程序\\iron\\Java_4_23\\take.txt")){
            String s="恶魔在茧房中蛹动，绝望滔天不过为其甜点。？？？？？？？";
            byte[] b =s.getBytes("utf-8");
            outputStream.write(b);
            outputStream.flush();
        }

    }
}




